package com.lottery.common.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lottery.common.dao.CommentInfoMapper;
import com.lottery.common.entity.CommentInfo;
import com.lottery.common.service.CommentInfoService;
import org.nutz.lang.util.NutMap;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 用户评论表 服务实现类
 * </p>
 *
 * @author jobob
 * @since 2019-11-01
 */
@Service
public class CommentInfoServiceImpl extends ServiceImpl<CommentInfoMapper, CommentInfo> implements CommentInfoService {
    @Resource
    private CommentInfoMapper commentInfoMapper;

    @Override
    public List<CommentInfo> selectCommentByType(NutMap nutMap) {
        return commentInfoMapper.selectCommentByType(nutMap);
    }
}
